import check from './check'
import http from './http'
import protoType from './proto-type.js'
import uniAdd from './uni-add.js'
// import tim from './tim'

const models = {
	check,
	http,
	protoType,
	uniAdd
	// tim
}

function install() {
	for (let key of Object.keys(models)) {
		models[key].init()
	}
}

const utils = {
    install: function () {
        install()
    },
	models
};

export default utils
